FROM docker.elastic.co/elasticsearch/elasticsearch:6.2.2

MAINTAINER wolferhua
RUN elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.2.2/elasticsearch-analysis-ik-6.2.2.zip
RUN elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/6.2.2.0/elasticsearch-sql-6.2.2.0.zip


# docker build -t wolferhua/elasticsearch:6.2.2 .